var db = require('../config/db')


//获取用户所在组的信息
exports.getGroupsInfo = function (id, res) {

    return new Promise(async (resolve, reject) => {
        // db.all("SELECT * FROM friend WHERE user_id = ?", id, function (err, rows) {
        //     if (err != null) {
        //         console.log(err)
        //         res.send({ success: false, msg: err })
        //     } else {
        //         resolve(rows)
        //     }
        // })
        resolve("待实现")
    })
}